<%--@elvariable id="checkInfo" type="com.weitu.securitycheck.entity.CheckInfo"--%>
<%--@elvariable id="loginDeptId" type="java.lang.String"--%>
<%--@elvariable id="loginUserId" type="java.lang.String"--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>检查信息查看</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/securityCheck/checkInfo/edit.js"></script>
</head>
<body>
<form id="form1" method="POST">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_one">
                    <label class="lable-style">是否源于计划:</label>
                    <select id="isFromPlan" name="isFromPlan" class="easyui-combobox"
                            data-options="required:true,editable:false,readonly:true"
                            style="width:240px;">
                        <option <c:if test="${checkInfo.checkPlanId != null}">selected</c:if> value="1">是</option>
                        <option <c:if test="${checkInfo.checkPlanId == null}">selected</c:if> value="0">否</option>
                    </select>
                </div>
                <div class="form_one" style="width: 705px;">
                    <label class="lable-style">检查计划名称:</label>
                    <input id="checkPlanId" name="checkPlanId" readonly value="${checkInfo.checkPlanId}" type="text" style="width:600px;">
                    <input type="hidden" name="id" class="hide" value="${param.id}">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">检查级别:</label>
                    <input id="checkLevelId" name="checkLevelId" readonly value="${checkInfo.checkLevelId}" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">检查类型:</label>
                    <input id="checkTypeId" name="checkTypeId" readonly value="${checkInfo.checkTypeId}" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">检查部门:</label>
                    <input id="checkDeptIds" name="checkDeptIds" readonly value="${checkInfo.checkDeptIds}" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">检查开始日期:</label>
                    <input id="checkStartDate" name="checkStartDate" value="${checkInfo.checkStartDate}" class="easyui-datebox" data-options="readonly:true,validType:'startDateCompare[\'#checkEndDate\']'" type="text" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">检查结束日期:</label>
                    <input id="checkEndDate" name="checkEndDate" value="${checkInfo.checkEndDate}" class="easyui-datebox" data-options="readonly:true,validType:'endDateCompare[\'#checkStartDate\']'" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 1100px;">
                    <label class="lable-style">检查名称:</label>
                    <input id="name" name="name" type="text" value="${checkInfo.name}" class="easyui-textbox" data-options="readonly:true,required:true" style="width: 959px;"/>
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 1100px;">
                    <label class="lable-style">检查人:</label>
                    <input id="checkUserNames" name="checkUserNames" readonly value="${checkInfo.checkUserNames}" type="text" style="width: 959px;"/>
                    <input id="checkUserIds" name="checkUserIds" value="${checkInfo.checkUserIds}" type="hidden" class="hide"/>
                </div>
            </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>问题明细</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="enclosure">
            <table id="dg1"></table>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>相关附件</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_two" style="width: 1100px;">
                    <%--@elvariable id="accessoryList" type="com.weitu.accessory.bean.AccessoryPackageInfo"--%>
                    <accessory:accessorySimple packageInfos="${accessoryList}" packageKey="check_info" uploadUserId="${loginUserId}" accessoryType="docx,doc,jpg,png,pdf,jpeg"/>
                </div>
            </div>
        </div>
    </div>
</form>
</body>
</html>
